From 5bd2e440c7badc8f1fc23a9a988b4154ea938579 Mon Sep 17 00:00:00 2001
From: "Laszlo Boszormenyi (GCS)"
Date: Tue, 6 Oct 2026 17:56:40 +0200
Subject: [PATCH] CVE-2026-103118
# HG changeset patch
# User Bob Friesenhahn
# Date 1787611781 18000
# Mon Aug 24 17:49:41 2026 -0500
# Node ID 627b5b1b2fc2873550fde7777c9796ad001f89cc
# Parent 633475b4626443e76ad55b02be48099cbaf14e0a
coders/wpg.c (ReadWPGImage): Limit recursion under ExtractPostscript() to avoid stack exhaustion given crafted WPG files which are self-referencing or otherwise create loops.
Gbp-Pq: Name CVE-2026-103118.patch
---
coders/wpg.c | 68 +-
locale/C.mgk | 3 +
magick/locale_c.h | 1874 +++++++++++++++++++++++----------------------
magick/resource.c | 2 +
www/index.html | 6 +-
www/index.rst | 6 +-
6 files changed, 1017 insertions(+), 942 deletions(-)
diff --git a/coders/wpg.c b/coders/wpg.c
index 33de6bd..df6539d 100644
--- a/coders/wpg.c
+++ b/coders/wpg.c
@@ -45,11 +45,23 @@
#include "magick/pixel_cache.h"
#include "magick/shear.h"
#include "magick/tempfile.h"
+#include "magick/tsd.h"
#include "magick/transform.h"
#include "magick/quantize.h"
#include "magick/utility.h"
#include "magick/static.h"
+/*
+ Global declarations.
+*/
+#define ExtractPostscriptRecursionLimit 64
+static MagickTsdKey_t tsd_key = (MagickTsdKey_t) 0;
+
+
+typedef struct
+{
+ size_t ps_recursion;
+} WPG_TSD;
typedef struct
{
@@ -847,6 +859,9 @@ static Image *ExtractPostscript(Image *image,const ImageInfo *image_info,
Image
*image2;
+ WPG_TSD
+ *tsd;
+
unsigned char
header_magick[2*MaxTextExtent];
@@ -868,6 +883,7 @@ static Image *ExtractPostscript(Image *image,const ImageInfo *image_info,
"ExtractPostscript(): PS_Offset=%" MAGICK_OFF_F "d, PS_Size=%" MAGICK_SIZE_T_F "u",
(magick_off_t) PS_Offset, (MAGICK_SIZE_T) PS_Size);
+
/*
Validate that claimed subordinate image data is contained in file size
*/
@@ -992,6 +1008,42 @@ static Image *ExtractPostscript(Image *image,const ImageInfo *image_info,
SeekBlob(image,PS_Offset,SEEK_SET);
}
#endif
+
+ /*
+ Support detecting the case where the "Postscript" blob is an
+ embedded WPG which is self-referencing or is otherwise constructed
+ to produce non-terminal looping. If recursion occurs, it will
+ occur under BlobToImage.
+ */
+ tsd = (WPG_TSD *) MagickTsdGetSpecific(tsd_key);
+ if (tsd == (WPG_TSD *) NULL)
+ {
+ /*
+ Allocate and set thread specific data
+ */
+ tsd = MagickMallocCleared(sizeof(WPG_TSD));
+ if (tsd == (WPG_TSD *) NULL)
+ {
+ ThrowException(exception,ResourceLimitError,MemoryAllocationFailed,image->filename);
+ return image;
+ }
+ tsd->ps_recursion = 0;
+ (void) MagickTsdSetSpecific(tsd_key,(void *) tsd);
+ }
+ tsd->ps_recursion++;
+ if (image->logging)
+ (void) LogMagickEvent(CoderEvent,GetMagickModule(),
+ "Recursion level %" MAGICK_SIZE_T_F "u", tsd->ps_recursion);
+ if (tsd->ps_recursion > ExtractPostscriptRecursionLimit)
+ {
+ if (image->logging)
+ (void) LogMagickEvent(CoderEvent,GetMagickModule(),
+ "Excessive recursion detected!");
+ ThrowException(exception,CorruptImageError,RecursionDetected,image->filename);
+ MagickFreeResourceLimitedMemory(unsigned char *,ps_data_alloc);
+ return image;
+ }
+
/*
Read nested image from blob, forcing read as Postscript format
*/
@@ -1000,13 +1052,18 @@ static Image *ExtractPostscript(Image *image,const ImageInfo *image_info,
MagickFreeResourceLimitedMemory(unsigned char *,ps_data_alloc);
return(image);
}
+
clone_info->blob=(void *) NULL;
/* clone_info->length=0; */
(void) strlcpy(clone_info->magick, format, sizeof(clone_info->magick));
(void) strlcpy(clone_info->filename, "", sizeof(clone_info->filename));
(void) LogMagickEvent(CoderEvent,GetMagickModule(),
"Reading embedded \"%s\" content from blob...", clone_info->magick);
- image2 = BlobToImage(clone_info, ps_data, PS_Size, &image->exception );
+ image2 = BlobToImage(clone_info, ps_data, PS_Size, exception );
+ tsd->ps_recursion--;
+ if (image->logging)
+ (void) LogMagickEvent(CoderEvent,GetMagickModule(),
+ "Recursion level %" MAGICK_SIZE_T_F "u", tsd->ps_recursion);
MagickFreeResourceLimitedMemory(unsigned char *,ps_data_alloc);
if (!image2)
{
@@ -2354,6 +2411,15 @@ ModuleExport void RegisterWPGImage(void)
MagickInfo
*entry;
+ /*
+ Initialize thread specific data key with destructor.
+
+ Thread-specific allocations are freed using the specified
+ destructor function when the thread is destroyed.
+ */
+ if (tsd_key == (MagickTsdKey_t) 0)
+ (void) MagickTsdKeyCreate2(&tsd_key,MagickFree);
+
entry=SetMagickInfo("WPG");
entry->decoder=(DecoderHandler) ReadWPGImage;
entry->encoder = (EncoderHandler)WriteWPGImage;
diff --git a/locale/C.mgk b/locale/C.mgk
index 40019f6..2240b87 100644
--- a/locale/C.mgk
+++ b/locale/C.mgk
@@ -566,6 +566,9 @@
Image file has no scenes
+
+ excessive recursion detected
+
diff --git a/magick/locale_c.h b/magick/locale_c.h
index 4564b50..8f663b5 100644
--- a/magick/locale_c.h
+++ b/magick/locale_c.h
@@ -3,7 +3,7 @@
extern MagickExport const char *GetLocaleMessageFromID(const int) MAGICK_FUNC_CONST;
-#define MAX_LOCALE_MSGS 610
+#define MAX_LOCALE_MSGS 611
#define MGK_BlobErrorUnableToCreateBlob 1
#define MGK_BlobErrorUnableToDeduceImageFormat 2
@@ -157,464 +157,465 @@ extern MagickExport const char *GetLocaleMessageFromID(const int) MAGICK_FUNC_CO
#define MGK_CorruptImageErrorNegativeOrZeroImageSize 150
#define MGK_CorruptImageErrorNonOS2HeaderSizeError 151
#define MGK_CorruptImageErrorNotEnoughTiles 152
-#define MGK_CorruptImageErrorStaticPlanesValueNotEqualToOne 153
-#define MGK_CorruptImageErrorSubsamplingRequiresEvenWidth 154
-#define MGK_CorruptImageErrorTooMuchImageDataInFile 155
-#define MGK_CorruptImageErrorUnableToReadColormapFromDumpFile 156
-#define MGK_CorruptImageErrorUnableToReadColorProfile 157
-#define MGK_CorruptImageErrorUnableToReadExtensionBlock 158
-#define MGK_CorruptImageErrorUnableToReadGenericProfile 159
-#define MGK_CorruptImageErrorUnableToReadImageData 160
-#define MGK_CorruptImageErrorUnableToReadImageHeader 161
-#define MGK_CorruptImageErrorUnableToReadIPTCProfile 162
-#define MGK_CorruptImageErrorUnableToReadPixmapFromDumpFile 163
-#define MGK_CorruptImageErrorUnableToReadSubImageData 164
-#define MGK_CorruptImageErrorUnableToReadVIDImage 165
-#define MGK_CorruptImageErrorUnableToReadWindowNameFromDumpFile 166
-#define MGK_CorruptImageErrorUnableToRunlengthDecodeImage 167
-#define MGK_CorruptImageErrorUnableToUncompressImage 168
-#define MGK_CorruptImageErrorUnexpectedEndOfFile 169
-#define MGK_CorruptImageErrorUnexpectedSamplingFactor 170
-#define MGK_CorruptImageErrorUnknownPatternType 171
-#define MGK_CorruptImageErrorUnrecognizedBitsPerPixel 172
-#define MGK_CorruptImageErrorUnrecognizedImageCompression 173
-#define MGK_CorruptImageErrorUnrecognizedNumberOfColors 174
-#define MGK_CorruptImageErrorUnrecognizedXWDHeader 175
-#define MGK_CorruptImageErrorUnsupportedBitsPerSample 176
-#define MGK_CorruptImageErrorUnsupportedNumberOfPlanes 177
-#define MGK_CorruptImageFatalErrorUnableToPersistKey 178
-#define MGK_CorruptImageWarningCompressionNotValid 179
-#define MGK_CorruptImageWarningCorruptImage 180
-#define MGK_CorruptImageWarningImproperImageHeader 181
-#define MGK_CorruptImageWarningInvalidColormapIndex 182
-#define MGK_CorruptImageWarningLengthAndFilesizeDoNotMatch 183
-#define MGK_CorruptImageWarningNegativeOrZeroImageSize 184
-#define MGK_CorruptImageWarningNonOS2HeaderSizeError 185
-#define MGK_CorruptImageWarningSkipToSyncByte 186
-#define MGK_CorruptImageWarningStaticPlanesValueNotEqualToOne 187
-#define MGK_CorruptImageWarningUnableToParseEmbeddedProfile 188
-#define MGK_CorruptImageWarningUnrecognizedBitsPerPixel 189
-#define MGK_CorruptImageWarningUnrecognizedImageCompression 190
-#define MGK_DelegateErrorDelegateFailed 191
-#define MGK_DelegateErrorFailedToAllocateArgumentList 192
-#define MGK_DelegateErrorFailedToAllocateGhostscriptInterpreter 193
-#define MGK_DelegateErrorFailedToComputeOutputSize 194
-#define MGK_DelegateErrorFailedToFindGhostscript 195
-#define MGK_DelegateErrorFailedToRenderFile 196
-#define MGK_DelegateErrorFailedToScanFile 197
-#define MGK_DelegateErrorNoTagFound 198
-#define MGK_DelegateErrorPostscriptDelegateFailed 199
-#define MGK_DelegateErrorUnableToCreateImage 200
-#define MGK_DelegateErrorUnableToCreateImageComponent 201
-#define MGK_DelegateErrorUnableToDecodeImageFile 202
-#define MGK_DelegateErrorUnableToEncodeImageFile 203
-#define MGK_DelegateErrorUnableToInitializeFPXLibrary 204
-#define MGK_DelegateErrorUnableToInitializeWMFLibrary 205
-#define MGK_DelegateErrorUnableToManageJP2Stream 206
-#define MGK_DelegateErrorUnableToWriteSVGFormat 207
-#define MGK_DelegateErrorWebPABIMismatch 208
-#define MGK_DelegateFatalErrorDefault 209
-#define MGK_DelegateWarningDefault 210
-#define MGK_DrawErrorAlreadyPushingPatternDefinition 211
-#define MGK_DrawErrorArithmeticOverflow 212
-#define MGK_DrawErrorDrawingRecursionDetected 213
-#define MGK_DrawErrorFloatValueConversionError 214
-#define MGK_DrawErrorIntegerValueConversionError 215
-#define MGK_DrawErrorInvalidAttributeArgument 216
-#define MGK_DrawErrorInvalidClassName 217
-#define MGK_DrawErrorInvalidElementIdentifier 218
-#define MGK_DrawErrorInvalidPrimitiveArgument 219
-#define MGK_DrawErrorNonconformingDrawingPrimitiveDefinition 220
-#define MGK_DrawErrorPrimitiveArithmeticOverflow 221
-#define MGK_DrawErrorTextStringTruncation 222
-#define MGK_DrawErrorTooManyCoordinates 223
-#define MGK_DrawErrorUnableToDrawOnImage 224
-#define MGK_DrawErrorUnableToFloodFillImageDueToClipMask 225
-#define MGK_DrawErrorUnableToPrint 226
-#define MGK_DrawErrorUnbalancedGraphicContextPushPop 227
-#define MGK_DrawErrorUnbalancedPushPop 228
-#define MGK_DrawErrorUnreasonableAffineMatrix 229
-#define MGK_DrawErrorUnreasonableDashPolygonLength 230
-#define MGK_DrawErrorUnreasonableGradientSize 231
-#define MGK_DrawErrorVectorPathTruncated 232
-#define MGK_DrawFatalErrorDefault 233
-#define MGK_DrawWarningNotARelativeURL 234
-#define MGK_DrawWarningNotCurrentlyPushingPatternDefinition 235
-#define MGK_DrawWarningURLNotFound 236
-#define MGK_FileOpenErrorUnableToCreateTemporaryFile 237
-#define MGK_FileOpenErrorUnableToOpenFile 238
-#define MGK_FileOpenErrorUnableToWriteFile 239
-#define MGK_FileOpenFatalErrorDefault 240
-#define MGK_FileOpenWarningDefault 241
-#define MGK_ImageErrorAngleIsDiscontinuous 242
-#define MGK_ImageErrorCMYKAImageLacksAlphaChannel 243
-#define MGK_ImageErrorColorspaceColorProfileMismatch 244
-#define MGK_ImageErrorImageColorspaceDiffers 245
-#define MGK_ImageErrorImageColorspaceMismatch 246
-#define MGK_ImageErrorImageDifferenceExceedsLimit 247
-#define MGK_ImageErrorImageDoesNotContainResolution 248
-#define MGK_ImageErrorImageIsNotColormapped 249
-#define MGK_ImageErrorImageOpacityDiffers 250
-#define MGK_ImageErrorImageSequenceIsRequired 251
-#define MGK_ImageErrorImageSizeDiffers 252
-#define MGK_ImageErrorInvalidColormapIndex 253
-#define MGK_ImageErrorLeftAndRightImageSizesDiffer 254
-#define MGK_ImageErrorNoImagesWereFound 255
-#define MGK_ImageErrorNoImagesWereLoaded 256
-#define MGK_ImageErrorNoLocaleImageAttribute 257
-#define MGK_ImageErrorTooManyClusters 258
-#define MGK_ImageErrorUnableToAppendImage 259
-#define MGK_ImageErrorUnableToAssignProfile 260
-#define MGK_ImageErrorUnableToAverageImage 261
-#define MGK_ImageErrorUnableToCoalesceImage 262
-#define MGK_ImageErrorUnableToCompareImages 263
-#define MGK_ImageErrorUnableToCreateImageMosaic 264
-#define MGK_ImageErrorUnableToCreateStereoImage 265
-#define MGK_ImageErrorUnableToDeconstructImageSequence 266
-#define MGK_ImageErrorUnableToExportImagePixels 267
-#define MGK_ImageErrorUnableToFlattenImage 268
-#define MGK_ImageErrorUnableToGetClipMask 269
-#define MGK_ImageErrorUnableToGetCompositeMask 270
-#define MGK_ImageErrorUnableToHandleImageChannel 271
-#define MGK_ImageErrorUnableToImportImagePixels 272
-#define MGK_ImageErrorUnableToResizeImage 273
-#define MGK_ImageErrorUnableToSegmentImage 274
-#define MGK_ImageErrorUnableToSetClipMask 275
-#define MGK_ImageErrorUnableToSetCompositeMask 276
-#define MGK_ImageErrorUnableToShearImage 277
-#define MGK_ImageErrorWidthOrHeightExceedsLimit 278
-#define MGK_ImageFatalErrorUnableToPersistKey 279
-#define MGK_ImageWarningDefault 280
-#define MGK_MissingDelegateErrorFPXLibraryIsNotAvailable 281
-#define MGK_MissingDelegateErrorFreeTypeLibraryIsNotAvailable 282
-#define MGK_MissingDelegateErrorJPEGLibraryIsNotAvailable 283
-#define MGK_MissingDelegateErrorLCMSLibraryIsNotAvailable 284
-#define MGK_MissingDelegateErrorLZWEncodingNotEnabled 285
-#define MGK_MissingDelegateErrorNoDecodeDelegateForThisImageFormat 286
-#define MGK_MissingDelegateErrorNoEncodeDelegateForThisImageFormat 287
-#define MGK_MissingDelegateErrorTIFFLibraryIsNotAvailable 288
-#define MGK_MissingDelegateErrorXMLLibraryIsNotAvailable 289
-#define MGK_MissingDelegateErrorXWindowLibraryIsNotAvailable 290
-#define MGK_MissingDelegateErrorZipLibraryIsNotAvailable 291
-#define MGK_MissingDelegateFatalErrorDefault 292
-#define MGK_MissingDelegateWarningDefault 293
-#define MGK_ModuleErrorFailedToCloseModule 294
-#define MGK_ModuleErrorFailedToFindSymbol 295
-#define MGK_ModuleErrorUnableToLoadModule 296
-#define MGK_ModuleErrorUnableToRegisterImageFormat 297
-#define MGK_ModuleErrorUnrecognizedModule 298
-#define MGK_ModuleFatalErrorUnableToInitializeModuleLoader 299
-#define MGK_ModuleWarningDefault 300
-#define MGK_MonitorErrorDefault 301
-#define MGK_MonitorFatalErrorDefault 302
-#define MGK_MonitorFatalErrorUserRequestedTerminationBySignal 303
-#define MGK_MonitorWarningDefault 304
-#define MGK_OptionErrorBevelWidthIsNegative 305
-#define MGK_OptionErrorColorSeparatedImageRequired 306
-#define MGK_OptionErrorDisplayGammaIsOutOfRange 307
-#define MGK_OptionErrorFilmGammaIsOutOfRange 308
-#define MGK_OptionErrorFrameIsLessThanImageSize 309
-#define MGK_OptionErrorGeometryDimensionsAreZero 310
-#define MGK_OptionErrorGeometryDoesNotContainImage 311
-#define MGK_OptionErrorHaldClutImageDimensionsInvalid 312
-#define MGK_OptionErrorImagesAreNotTheSameSize 313
-#define MGK_OptionErrorImageSizeMustExceedBevelWidth 314
-#define MGK_OptionErrorImageSmallerThanKernelWidth 315
-#define MGK_OptionErrorImageSmallerThanRadius 316
-#define MGK_OptionErrorImageWidthsOrHeightsDiffer 317
-#define MGK_OptionErrorInputImagesAlreadySpecified 318
-#define MGK_OptionErrorInvalidSubimageSpecification 319
-#define MGK_OptionErrorKernelRadiusIsTooSmall 320
-#define MGK_OptionErrorKernelWidthMustBeAnOddNumber 321
-#define MGK_OptionErrorMatrixIsNotSquare 322
-#define MGK_OptionErrorMatrixOrderOutOfRange 323
-#define MGK_OptionErrorMissingAnImageFilename 324
-#define MGK_OptionErrorMissingArgument 325
-#define MGK_OptionErrorMustSpecifyAnImageName 326
-#define MGK_OptionErrorMustSpecifyImageSize 327
-#define MGK_OptionErrorNoBlobDefined 328
-#define MGK_OptionErrorNoImagesDefined 329
-#define MGK_OptionErrorNonzeroWidthAndHeightRequired 330
-#define MGK_OptionErrorNoProfileNameWasGiven 331
-#define MGK_OptionErrorNullBlobArgument 332
-#define MGK_OptionErrorReferenceBlackIsOutOfRange 333
-#define MGK_OptionErrorReferenceImageRequired 334
-#define MGK_OptionErrorReferenceIsNotMyType 335
-#define MGK_OptionErrorReferenceWhiteIsOutOfRange 336
-#define MGK_OptionErrorRegionAreaExceedsLimit 337
-#define MGK_OptionErrorRequestDidNotReturnAnImage 338
-#define MGK_OptionErrorSoftClipOffsetIsOutOfRange 339
-#define MGK_OptionErrorSteganoImageRequired 340
-#define MGK_OptionErrorStereoImageRequired 341
-#define MGK_OptionErrorSubimageSpecificationReturnsNoImages 342
-#define MGK_OptionErrorTileNotBoundedByImageDimensions 343
-#define MGK_OptionErrorUnableToAddOrRemoveProfile 344
-#define MGK_OptionErrorUnableToAverageImageSequence 345
-#define MGK_OptionErrorUnableToBlurImage 346
-#define MGK_OptionErrorUnableToChopImage 347
-#define MGK_OptionErrorUnableToCineonLogRGBTransformColorspace 348
-#define MGK_OptionErrorUnableToColorMatrixImage 349
-#define MGK_OptionErrorUnableToConstituteImage 350
-#define MGK_OptionErrorUnableToConvolveImage 351
-#define MGK_OptionErrorUnableToEdgeImage 352
-#define MGK_OptionErrorUnableToEqualizeImage 353
-#define MGK_OptionErrorUnableToFilterImage 354
-#define MGK_OptionErrorUnableToFormatImageMetadata 355
-#define MGK_OptionErrorUnableToFrameImage 356
-#define MGK_OptionErrorUnableToOilPaintImage 357
-#define MGK_OptionErrorUnableToPaintImage 358
-#define MGK_OptionErrorUnableToRaiseImage 359
-#define MGK_OptionErrorUnableToSharpenImage 360
-#define MGK_OptionErrorUnableToSpreadImage 361
-#define MGK_OptionErrorUnableToThresholdImage 362
-#define MGK_OptionErrorUnableToWaveImage 363
-#define MGK_OptionErrorUnrecognizedAttribute 364
-#define MGK_OptionErrorUnrecognizedChannelType 365
-#define MGK_OptionErrorUnrecognizedColor 366
-#define MGK_OptionErrorUnrecognizedColormapType 367
-#define MGK_OptionErrorUnrecognizedColorspace 368
-#define MGK_OptionErrorUnrecognizedCommand 369
-#define MGK_OptionErrorUnrecognizedComposeOperator 370
-#define MGK_OptionErrorUnrecognizedDisposeMethod 371
-#define MGK_OptionErrorUnrecognizedElement 372
-#define MGK_OptionErrorUnrecognizedEndianType 373
-#define MGK_OptionErrorUnrecognizedGravityType 374
-#define MGK_OptionErrorUnrecognizedHighlightStyle 375
-#define MGK_OptionErrorUnrecognizedImageCompression 376
-#define MGK_OptionErrorUnrecognizedImageFilter 377
-#define MGK_OptionErrorUnrecognizedImageFormat 378
-#define MGK_OptionErrorUnrecognizedImageMode 379
-#define MGK_OptionErrorUnrecognizedImageType 380
-#define MGK_OptionErrorUnrecognizedIntentType 381
-#define MGK_OptionErrorUnrecognizedInterlaceType 382
-#define MGK_OptionErrorUnrecognizedListType 383
-#define MGK_OptionErrorUnrecognizedMetric 384
-#define MGK_OptionErrorUnrecognizedModeType 385
-#define MGK_OptionErrorUnrecognizedNoiseType 386
-#define MGK_OptionErrorUnrecognizedOperator 387
-#define MGK_OptionErrorUnrecognizedOption 388
-#define MGK_OptionErrorUnrecognizedPerlMagickMethod 389
-#define MGK_OptionErrorUnrecognizedPixelMap 390
-#define MGK_OptionErrorUnrecognizedPreviewType 391
-#define MGK_OptionErrorUnrecognizedResourceType 392
-#define MGK_OptionErrorUnrecognizedType 393
-#define MGK_OptionErrorUnrecognizedUnitsType 394
-#define MGK_OptionErrorUnrecognizedVirtualPixelMethod 395
-#define MGK_OptionErrorUnsupportedSamplingFactor 396
-#define MGK_OptionErrorUsageError 397
-#define MGK_OptionFatalErrorInvalidColorspaceType 398
-#define MGK_OptionFatalErrorInvalidEndianType 399
-#define MGK_OptionFatalErrorInvalidImageType 400
-#define MGK_OptionFatalErrorInvalidInterlaceType 401
-#define MGK_OptionFatalErrorMissingAnImageFilename 402
-#define MGK_OptionFatalErrorMissingArgument 403
-#define MGK_OptionFatalErrorNoImagesWereLoaded 404
-#define MGK_OptionFatalErrorOptionLengthExceedsLimit 405
-#define MGK_OptionFatalErrorRequestDidNotReturnAnImage 406
-#define MGK_OptionFatalErrorUnableToOpenXServer 407
-#define MGK_OptionFatalErrorUnableToPersistKey 408
-#define MGK_OptionFatalErrorUnrecognizedColormapType 409
-#define MGK_OptionFatalErrorUnrecognizedColorspaceType 410
-#define MGK_OptionFatalErrorUnrecognizedDisposeMethod 411
-#define MGK_OptionFatalErrorUnrecognizedEndianType 412
-#define MGK_OptionFatalErrorUnrecognizedFilterType 413
-#define MGK_OptionFatalErrorUnrecognizedImageCompressionType 414
-#define MGK_OptionFatalErrorUnrecognizedImageType 415
-#define MGK_OptionFatalErrorUnrecognizedInterlaceType 416
-#define MGK_OptionFatalErrorUnrecognizedOption 417
-#define MGK_OptionFatalErrorUnrecognizedResourceType 418
-#define MGK_OptionFatalErrorUnrecognizedVirtualPixelMethod 419
-#define MGK_OptionWarningUnrecognizedColor 420
-#define MGK_RegistryErrorImageExpected 421
-#define MGK_RegistryErrorImageInfoExpected 422
-#define MGK_RegistryErrorStructureSizeMismatch 423
-#define MGK_RegistryErrorUnableToGetRegistryID 424
-#define MGK_RegistryErrorUnableToLocateImage 425
-#define MGK_RegistryErrorUnableToSetRegistry 426
-#define MGK_RegistryFatalErrorDefault 427
-#define MGK_RegistryWarningDefault 428
-#define MGK_ResourceLimitErrorCacheResourcesExhausted 429
-#define MGK_ResourceLimitErrorImagePixelHeightLimitExceeded 430
-#define MGK_ResourceLimitErrorImagePixelLimitExceeded 431
-#define MGK_ResourceLimitErrorImagePixelWidthLimitExceeded 432
-#define MGK_ResourceLimitErrorImagesLimitExceeded 433
-#define MGK_ResourceLimitErrorMemoryAllocationFailed 434
-#define MGK_ResourceLimitErrorNexusPixelHeightLimitExceeded 435
-#define MGK_ResourceLimitErrorNexusPixelLimitExceeded 436
-#define MGK_ResourceLimitErrorNexusPixelWidthLimitExceeded 437
-#define MGK_ResourceLimitErrorNoPixelsDefinedInCache 438
-#define MGK_ResourceLimitErrorPixelCacheAllocationFailed 439
-#define MGK_ResourceLimitErrorReadLimitExceeded 440
-#define MGK_ResourceLimitErrorUnableToAddColorProfile 441
-#define MGK_ResourceLimitErrorUnableToAddGenericProfile 442
-#define MGK_ResourceLimitErrorUnableToAddIPTCProfile 443
-#define MGK_ResourceLimitErrorUnableToAddOrRemoveProfile 444
-#define MGK_ResourceLimitErrorUnableToAllocateCoefficients 445
-#define MGK_ResourceLimitErrorUnableToAllocateColormap 446
-#define MGK_ResourceLimitErrorUnableToAllocateICCProfile 447
-#define MGK_ResourceLimitErrorUnableToAllocateImage 448
-#define MGK_ResourceLimitErrorUnableToAllocateString 449
-#define MGK_ResourceLimitErrorUnableToAnnotateImage 450
-#define MGK_ResourceLimitErrorUnableToAverageImageSequence 451
-#define MGK_ResourceLimitErrorUnableToCloneDrawingContext 452
-#define MGK_ResourceLimitErrorUnableToCloneImage 453
-#define MGK_ResourceLimitErrorUnableToComputeImageSignature 454
-#define MGK_ResourceLimitErrorUnableToConstituteImage 455
-#define MGK_ResourceLimitErrorUnableToConvertFont 456
-#define MGK_ResourceLimitErrorUnableToConvertStringToTokens 457
-#define MGK_ResourceLimitErrorUnableToCreateColormap 458
-#define MGK_ResourceLimitErrorUnableToCreateColorTransform 459
-#define MGK_ResourceLimitErrorUnableToCreateCommandWidget 460
-#define MGK_ResourceLimitErrorUnableToCreateImageGroup 461
-#define MGK_ResourceLimitErrorUnableToCreateImageMontage 462
-#define MGK_ResourceLimitErrorUnableToCreateXWindow 463
-#define MGK_ResourceLimitErrorUnableToCropImage 464
-#define MGK_ResourceLimitErrorUnableToDespeckleImage 465
-#define MGK_ResourceLimitErrorUnableToDetermineImageClass 466
-#define MGK_ResourceLimitErrorUnableToDetermineTheNumberOfImageColors 467
-#define MGK_ResourceLimitErrorUnableToDitherImage 468
-#define MGK_ResourceLimitErrorUnableToDrawOnImage 469
-#define MGK_ResourceLimitErrorUnableToEdgeImage 470
-#define MGK_ResourceLimitErrorUnableToEmbossImage 471
-#define MGK_ResourceLimitErrorUnableToEnhanceImage 472
-#define MGK_ResourceLimitErrorUnableToFloodfillImage 473
-#define MGK_ResourceLimitErrorUnableToGammaCorrectImage 474
-#define MGK_ResourceLimitErrorUnableToGetBestIconSize 475
-#define MGK_ResourceLimitErrorUnableToGetFromRegistry 476
-#define MGK_ResourceLimitErrorUnableToGetPackageInfo 477
-#define MGK_ResourceLimitErrorUnableToInterpretMSLImage 478
-#define MGK_ResourceLimitErrorUnableToLevelImage 479
-#define MGK_ResourceLimitErrorUnableToMagnifyImage 480
-#define MGK_ResourceLimitErrorUnableToManageColor 481
-#define MGK_ResourceLimitErrorUnableToMapImage 482
-#define MGK_ResourceLimitErrorUnableToMapImageSequence 483
-#define MGK_ResourceLimitErrorUnableToMedianFilterImage 484
-#define MGK_ResourceLimitErrorUnableToMotionBlurImage 485
-#define MGK_ResourceLimitErrorUnableToNoiseFilterImage 486
-#define MGK_ResourceLimitErrorUnableToNormalizeImage 487
-#define MGK_ResourceLimitErrorUnableToOpenColorProfile 488
-#define MGK_ResourceLimitErrorUnableToQuantizeImage 489
-#define MGK_ResourceLimitErrorUnableToQuantizeImageSequence 490
-#define MGK_ResourceLimitErrorUnableToReadTextChunk 491
-#define MGK_ResourceLimitErrorUnableToReadXImage 492
-#define MGK_ResourceLimitErrorUnableToReadXServerColormap 493
-#define MGK_ResourceLimitErrorUnableToResizeImage 494
-#define MGK_ResourceLimitErrorUnableToRotateImage 495
-#define MGK_ResourceLimitErrorUnableToSampleImage 496
-#define MGK_ResourceLimitErrorUnableToScaleImage 497
-#define MGK_ResourceLimitErrorUnableToSelectImage 498
-#define MGK_ResourceLimitErrorUnableToSharpenImage 499
-#define MGK_ResourceLimitErrorUnableToShaveImage 500
-#define MGK_ResourceLimitErrorUnableToShearImage 501
-#define MGK_ResourceLimitErrorUnableToSortImageColormap 502
-#define MGK_ResourceLimitErrorUnableToThresholdImage 503
-#define MGK_ResourceLimitErrorUnableToTransformColorspace 504
-#define MGK_ResourceLimitErrorWriteLimitExceeded 505
-#define MGK_ResourceLimitFatalErrorMemoryAllocationFailed 506
-#define MGK_ResourceLimitFatalErrorSemaporeOperationFailed 507
-#define MGK_ResourceLimitFatalErrorUnableToAllocateAscii85Info 508
-#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheInfo 509
-#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheView 510
-#define MGK_ResourceLimitFatalErrorUnableToAllocateColorInfo 511
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDashPattern 512
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDelegateInfo 513
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDerivatives 514
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawContext 515
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawInfo 516
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawingWand 517
-#define MGK_ResourceLimitFatalErrorUnableToAllocateGammaMap 518
-#define MGK_ResourceLimitFatalErrorUnableToAllocateImage 519
-#define MGK_ResourceLimitFatalErrorUnableToAllocateImagePixels 520
-#define MGK_ResourceLimitFatalErrorUnableToAllocateLogInfo 521
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMagicInfo 522
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickInfo 523
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickMap 524
-#define MGK_ResourceLimitFatalErrorUnableToAllocateModuleInfo 525
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMontageInfo 526
-#define MGK_ResourceLimitFatalErrorUnableToAllocateQuantizeInfo 527
-#define MGK_ResourceLimitFatalErrorUnableToAllocateRandomKernel 528
-#define MGK_ResourceLimitFatalErrorUnableToAllocateRegistryInfo 529
-#define MGK_ResourceLimitFatalErrorUnableToAllocateSemaphoreInfo 530
-#define MGK_ResourceLimitFatalErrorUnableToAllocateString 531
-#define MGK_ResourceLimitFatalErrorUnableToAllocateTypeInfo 532
-#define MGK_ResourceLimitFatalErrorUnableToAllocateWand 533
-#define MGK_ResourceLimitFatalErrorUnableToAnimateImageSequence 534
-#define MGK_ResourceLimitFatalErrorUnableToCloneBlobInfo 535
-#define MGK_ResourceLimitFatalErrorUnableToCloneCacheInfo 536
-#define MGK_ResourceLimitFatalErrorUnableToCloneImage 537
-#define MGK_ResourceLimitFatalErrorUnableToCloneImageInfo 538
-#define MGK_ResourceLimitFatalErrorUnableToConcatenateString 539
-#define MGK_ResourceLimitFatalErrorUnableToConvertText 540
-#define MGK_ResourceLimitFatalErrorUnableToCreateColormap 541
-#define MGK_ResourceLimitFatalErrorUnableToDestroySemaphore 542
-#define MGK_ResourceLimitFatalErrorUnableToDisplayImage 543
-#define MGK_ResourceLimitFatalErrorUnableToEscapeString 544
-#define MGK_ResourceLimitFatalErrorUnableToInitializeSemaphore 545
-#define MGK_ResourceLimitFatalErrorUnableToInterpretMSLImage 546
-#define MGK_ResourceLimitFatalErrorUnableToLockSemaphore 547
-#define MGK_ResourceLimitFatalErrorUnableToObtainRandomEntropy 548
-#define MGK_ResourceLimitFatalErrorUnableToUnlockSemaphore 549
-#define MGK_ResourceLimitWarningMemoryAllocationFailed 550
-#define MGK_StreamErrorImageDoesNotContainTheStreamGeometry 551
-#define MGK_StreamErrorNoStreamHandlerIsDefined 552
-#define MGK_StreamErrorPixelCacheIsNotOpen 553
-#define MGK_StreamErrorUnableToAcquirePixelStream 554
-#define MGK_StreamErrorUnableToSetPixelStream 555
-#define MGK_StreamErrorUnableToSyncPixelStream 556
-#define MGK_StreamFatalErrorDefault 557
-#define MGK_StreamWarningDefault 558
-#define MGK_TypeErrorFontNotSpecified 559
-#define MGK_TypeErrorFontSubstitutionRequired 560
-#define MGK_TypeErrorUnableToGetTypeMetrics 561
-#define MGK_TypeErrorUnableToInitializeFreetypeLibrary 562
-#define MGK_TypeErrorUnableToReadFont 563
-#define MGK_TypeErrorUnrecognizedFontEncoding 564
-#define MGK_TypeFatalErrorDefault 565
-#define MGK_TypeWarningDefault 566
-#define MGK_WandErrorInvalidColormapIndex 567
-#define MGK_WandErrorWandAPINotImplemented 568
-#define MGK_WandErrorWandContainsNoImageIndexs 569
-#define MGK_WandErrorWandContainsNoImages 570
-#define MGK_XServerErrorColorIsNotKnownToServer 571
-#define MGK_XServerErrorNoWindowWithSpecifiedIDExists 572
-#define MGK_XServerErrorStandardColormapIsNotInitialized 573
-#define MGK_XServerErrorUnableToConnectToRemoteDisplay 574
-#define MGK_XServerErrorUnableToCreateBitmap 575
-#define MGK_XServerErrorUnableToCreateColormap 576
-#define MGK_XServerErrorUnableToCreatePixmap 577
-#define MGK_XServerErrorUnableToCreateProperty 578
-#define MGK_XServerErrorUnableToCreateStandardColormap 579
-#define MGK_XServerErrorUnableToDisplayImageInfo 580
-#define MGK_XServerErrorUnableToGetProperty 581
-#define MGK_XServerErrorUnableToGetStandardColormap 582
-#define MGK_XServerErrorUnableToGetVisual 583
-#define MGK_XServerErrorUnableToGrabMouse 584
-#define MGK_XServerErrorUnableToLoadFont 585
-#define MGK_XServerErrorUnableToMatchVisualToStandardColormap 586
-#define MGK_XServerErrorUnableToOpenXServer 587
-#define MGK_XServerErrorUnableToReadXAttributes 588
-#define MGK_XServerErrorUnableToReadXWindowImage 589
-#define MGK_XServerErrorUnrecognizedColormapType 590
-#define MGK_XServerErrorUnrecognizedGravityType 591
-#define MGK_XServerErrorUnrecognizedVisualSpecifier 592
-#define MGK_XServerFatalErrorUnableToAllocateXHints 593
-#define MGK_XServerFatalErrorUnableToCreateCursor 594
-#define MGK_XServerFatalErrorUnableToCreateGraphicContext 595
-#define MGK_XServerFatalErrorUnableToCreateStandardColormap 596
-#define MGK_XServerFatalErrorUnableToCreateTextProperty 597
-#define MGK_XServerFatalErrorUnableToCreateXImage 598
-#define MGK_XServerFatalErrorUnableToCreateXPixmap 599
-#define MGK_XServerFatalErrorUnableToCreateXWindow 600
-#define MGK_XServerFatalErrorUnableToDisplayImage 601
-#define MGK_XServerFatalErrorUnableToDitherImage 602
-#define MGK_XServerFatalErrorUnableToGetPixelInfo 603
-#define MGK_XServerFatalErrorUnableToGetVisual 604
-#define MGK_XServerFatalErrorUnableToLoadFont 605
-#define MGK_XServerFatalErrorUnableToMakeXWindow 606
-#define MGK_XServerFatalErrorUnableToOpenXServer 607
-#define MGK_XServerFatalErrorUnableToViewFonts 608
-#define MGK_XServerWarningUnableToGetVisual 609
-#define MGK_XServerWarningUsingDefaultVisual 610
+#define MGK_CorruptImageErrorRecursionDetected 153
+#define MGK_CorruptImageErrorStaticPlanesValueNotEqualToOne 154
+#define MGK_CorruptImageErrorSubsamplingRequiresEvenWidth 155
+#define MGK_CorruptImageErrorTooMuchImageDataInFile 156
+#define MGK_CorruptImageErrorUnableToReadColormapFromDumpFile 157
+#define MGK_CorruptImageErrorUnableToReadColorProfile 158
+#define MGK_CorruptImageErrorUnableToReadExtensionBlock 159
+#define MGK_CorruptImageErrorUnableToReadGenericProfile 160
+#define MGK_CorruptImageErrorUnableToReadImageData 161
+#define MGK_CorruptImageErrorUnableToReadImageHeader 162
+#define MGK_CorruptImageErrorUnableToReadIPTCProfile 163
+#define MGK_CorruptImageErrorUnableToReadPixmapFromDumpFile 164
+#define MGK_CorruptImageErrorUnableToReadSubImageData 165
+#define MGK_CorruptImageErrorUnableToReadVIDImage 166
+#define MGK_CorruptImageErrorUnableToReadWindowNameFromDumpFile 167
+#define MGK_CorruptImageErrorUnableToRunlengthDecodeImage 168
+#define MGK_CorruptImageErrorUnableToUncompressImage 169
+#define MGK_CorruptImageErrorUnexpectedEndOfFile 170
+#define MGK_CorruptImageErrorUnexpectedSamplingFactor 171
+#define MGK_CorruptImageErrorUnknownPatternType 172
+#define MGK_CorruptImageErrorUnrecognizedBitsPerPixel 173
+#define MGK_CorruptImageErrorUnrecognizedImageCompression 174
+#define MGK_CorruptImageErrorUnrecognizedNumberOfColors 175
+#define MGK_CorruptImageErrorUnrecognizedXWDHeader 176
+#define MGK_CorruptImageErrorUnsupportedBitsPerSample 177
+#define MGK_CorruptImageErrorUnsupportedNumberOfPlanes 178
+#define MGK_CorruptImageFatalErrorUnableToPersistKey 179
+#define MGK_CorruptImageWarningCompressionNotValid 180
+#define MGK_CorruptImageWarningCorruptImage 181
+#define MGK_CorruptImageWarningImproperImageHeader 182
+#define MGK_CorruptImageWarningInvalidColormapIndex 183
+#define MGK_CorruptImageWarningLengthAndFilesizeDoNotMatch 184
+#define MGK_CorruptImageWarningNegativeOrZeroImageSize 185
+#define MGK_CorruptImageWarningNonOS2HeaderSizeError 186
+#define MGK_CorruptImageWarningSkipToSyncByte 187
+#define MGK_CorruptImageWarningStaticPlanesValueNotEqualToOne 188
+#define MGK_CorruptImageWarningUnableToParseEmbeddedProfile 189
+#define MGK_CorruptImageWarningUnrecognizedBitsPerPixel 190
+#define MGK_CorruptImageWarningUnrecognizedImageCompression 191
+#define MGK_DelegateErrorDelegateFailed 192
+#define MGK_DelegateErrorFailedToAllocateArgumentList 193
+#define MGK_DelegateErrorFailedToAllocateGhostscriptInterpreter 194
+#define MGK_DelegateErrorFailedToComputeOutputSize 195
+#define MGK_DelegateErrorFailedToFindGhostscript 196
+#define MGK_DelegateErrorFailedToRenderFile 197
+#define MGK_DelegateErrorFailedToScanFile 198
+#define MGK_DelegateErrorNoTagFound 199
+#define MGK_DelegateErrorPostscriptDelegateFailed 200
+#define MGK_DelegateErrorUnableToCreateImage 201
+#define MGK_DelegateErrorUnableToCreateImageComponent 202
+#define MGK_DelegateErrorUnableToDecodeImageFile 203
+#define MGK_DelegateErrorUnableToEncodeImageFile 204
+#define MGK_DelegateErrorUnableToInitializeFPXLibrary 205
+#define MGK_DelegateErrorUnableToInitializeWMFLibrary 206
+#define MGK_DelegateErrorUnableToManageJP2Stream 207
+#define MGK_DelegateErrorUnableToWriteSVGFormat 208
+#define MGK_DelegateErrorWebPABIMismatch 209
+#define MGK_DelegateFatalErrorDefault 210
+#define MGK_DelegateWarningDefault 211
+#define MGK_DrawErrorAlreadyPushingPatternDefinition 212
+#define MGK_DrawErrorArithmeticOverflow 213
+#define MGK_DrawErrorDrawingRecursionDetected 214
+#define MGK_DrawErrorFloatValueConversionError 215
+#define MGK_DrawErrorIntegerValueConversionError 216
+#define MGK_DrawErrorInvalidAttributeArgument 217
+#define MGK_DrawErrorInvalidClassName 218
+#define MGK_DrawErrorInvalidElementIdentifier 219
+#define MGK_DrawErrorInvalidPrimitiveArgument 220
+#define MGK_DrawErrorNonconformingDrawingPrimitiveDefinition 221
+#define MGK_DrawErrorPrimitiveArithmeticOverflow 222
+#define MGK_DrawErrorTextStringTruncation 223
+#define MGK_DrawErrorTooManyCoordinates 224
+#define MGK_DrawErrorUnableToDrawOnImage 225
+#define MGK_DrawErrorUnableToFloodFillImageDueToClipMask 226
+#define MGK_DrawErrorUnableToPrint 227
+#define MGK_DrawErrorUnbalancedGraphicContextPushPop 228
+#define MGK_DrawErrorUnbalancedPushPop 229
+#define MGK_DrawErrorUnreasonableAffineMatrix 230
+#define MGK_DrawErrorUnreasonableDashPolygonLength 231
+#define MGK_DrawErrorUnreasonableGradientSize 232
+#define MGK_DrawErrorVectorPathTruncated 233
+#define MGK_DrawFatalErrorDefault 234
+#define MGK_DrawWarningNotARelativeURL 235
+#define MGK_DrawWarningNotCurrentlyPushingPatternDefinition 236
+#define MGK_DrawWarningURLNotFound 237
+#define MGK_FileOpenErrorUnableToCreateTemporaryFile 238
+#define MGK_FileOpenErrorUnableToOpenFile 239
+#define MGK_FileOpenErrorUnableToWriteFile 240
+#define MGK_FileOpenFatalErrorDefault 241
+#define MGK_FileOpenWarningDefault 242
+#define MGK_ImageErrorAngleIsDiscontinuous 243
+#define MGK_ImageErrorCMYKAImageLacksAlphaChannel 244
+#define MGK_ImageErrorColorspaceColorProfileMismatch 245
+#define MGK_ImageErrorImageColorspaceDiffers 246
+#define MGK_ImageErrorImageColorspaceMismatch 247
+#define MGK_ImageErrorImageDifferenceExceedsLimit 248
+#define MGK_ImageErrorImageDoesNotContainResolution 249
+#define MGK_ImageErrorImageIsNotColormapped 250
+#define MGK_ImageErrorImageOpacityDiffers 251
+#define MGK_ImageErrorImageSequenceIsRequired 252
+#define MGK_ImageErrorImageSizeDiffers 253
+#define MGK_ImageErrorInvalidColormapIndex 254
+#define MGK_ImageErrorLeftAndRightImageSizesDiffer 255
+#define MGK_ImageErrorNoImagesWereFound 256
+#define MGK_ImageErrorNoImagesWereLoaded 257
+#define MGK_ImageErrorNoLocaleImageAttribute 258
+#define MGK_ImageErrorTooManyClusters 259
+#define MGK_ImageErrorUnableToAppendImage 260
+#define MGK_ImageErrorUnableToAssignProfile 261
+#define MGK_ImageErrorUnableToAverageImage 262
+#define MGK_ImageErrorUnableToCoalesceImage 263
+#define MGK_ImageErrorUnableToCompareImages 264
+#define MGK_ImageErrorUnableToCreateImageMosaic 265
+#define MGK_ImageErrorUnableToCreateStereoImage 266
+#define MGK_ImageErrorUnableToDeconstructImageSequence 267
+#define MGK_ImageErrorUnableToExportImagePixels 268
+#define MGK_ImageErrorUnableToFlattenImage 269
+#define MGK_ImageErrorUnableToGetClipMask 270
+#define MGK_ImageErrorUnableToGetCompositeMask 271
+#define MGK_ImageErrorUnableToHandleImageChannel 272
+#define MGK_ImageErrorUnableToImportImagePixels 273
+#define MGK_ImageErrorUnableToResizeImage 274
+#define MGK_ImageErrorUnableToSegmentImage 275
+#define MGK_ImageErrorUnableToSetClipMask 276
+#define MGK_ImageErrorUnableToSetCompositeMask 277
+#define MGK_ImageErrorUnableToShearImage 278
+#define MGK_ImageErrorWidthOrHeightExceedsLimit 279
+#define MGK_ImageFatalErrorUnableToPersistKey 280
+#define MGK_ImageWarningDefault 281
+#define MGK_MissingDelegateErrorFPXLibraryIsNotAvailable 282
+#define MGK_MissingDelegateErrorFreeTypeLibraryIsNotAvailable 283
+#define MGK_MissingDelegateErrorJPEGLibraryIsNotAvailable 284
+#define MGK_MissingDelegateErrorLCMSLibraryIsNotAvailable 285
+#define MGK_MissingDelegateErrorLZWEncodingNotEnabled 286
+#define MGK_MissingDelegateErrorNoDecodeDelegateForThisImageFormat 287
+#define MGK_MissingDelegateErrorNoEncodeDelegateForThisImageFormat 288
+#define MGK_MissingDelegateErrorTIFFLibraryIsNotAvailable 289
+#define MGK_MissingDelegateErrorXMLLibraryIsNotAvailable 290
+#define MGK_MissingDelegateErrorXWindowLibraryIsNotAvailable 291
+#define MGK_MissingDelegateErrorZipLibraryIsNotAvailable 292
+#define MGK_MissingDelegateFatalErrorDefault 293
+#define MGK_MissingDelegateWarningDefault 294
+#define MGK_ModuleErrorFailedToCloseModule 295
+#define MGK_ModuleErrorFailedToFindSymbol 296
+#define MGK_ModuleErrorUnableToLoadModule 297
+#define MGK_ModuleErrorUnableToRegisterImageFormat 298
+#define MGK_ModuleErrorUnrecognizedModule 299
+#define MGK_ModuleFatalErrorUnableToInitializeModuleLoader 300
+#define MGK_ModuleWarningDefault 301
+#define MGK_MonitorErrorDefault 302
+#define MGK_MonitorFatalErrorDefault 303
+#define MGK_MonitorFatalErrorUserRequestedTerminationBySignal 304
+#define MGK_MonitorWarningDefault 305
+#define MGK_OptionErrorBevelWidthIsNegative 306
+#define MGK_OptionErrorColorSeparatedImageRequired 307
+#define MGK_OptionErrorDisplayGammaIsOutOfRange 308
+#define MGK_OptionErrorFilmGammaIsOutOfRange 309
+#define MGK_OptionErrorFrameIsLessThanImageSize 310
+#define MGK_OptionErrorGeometryDimensionsAreZero 311
+#define MGK_OptionErrorGeometryDoesNotContainImage 312
+#define MGK_OptionErrorHaldClutImageDimensionsInvalid 313
+#define MGK_OptionErrorImagesAreNotTheSameSize 314
+#define MGK_OptionErrorImageSizeMustExceedBevelWidth 315
+#define MGK_OptionErrorImageSmallerThanKernelWidth 316
+#define MGK_OptionErrorImageSmallerThanRadius 317
+#define MGK_OptionErrorImageWidthsOrHeightsDiffer 318
+#define MGK_OptionErrorInputImagesAlreadySpecified 319
+#define MGK_OptionErrorInvalidSubimageSpecification 320
+#define MGK_OptionErrorKernelRadiusIsTooSmall 321
+#define MGK_OptionErrorKernelWidthMustBeAnOddNumber 322
+#define MGK_OptionErrorMatrixIsNotSquare 323
+#define MGK_OptionErrorMatrixOrderOutOfRange 324
+#define MGK_OptionErrorMissingAnImageFilename 325
+#define MGK_OptionErrorMissingArgument 326
+#define MGK_OptionErrorMustSpecifyAnImageName 327
+#define MGK_OptionErrorMustSpecifyImageSize 328
+#define MGK_OptionErrorNoBlobDefined 329
+#define MGK_OptionErrorNoImagesDefined 330
+#define MGK_OptionErrorNonzeroWidthAndHeightRequired 331
+#define MGK_OptionErrorNoProfileNameWasGiven 332
+#define MGK_OptionErrorNullBlobArgument 333
+#define MGK_OptionErrorReferenceBlackIsOutOfRange 334
+#define MGK_OptionErrorReferenceImageRequired 335
+#define MGK_OptionErrorReferenceIsNotMyType 336
+#define MGK_OptionErrorReferenceWhiteIsOutOfRange 337
+#define MGK_OptionErrorRegionAreaExceedsLimit 338
+#define MGK_OptionErrorRequestDidNotReturnAnImage 339
+#define MGK_OptionErrorSoftClipOffsetIsOutOfRange 340
+#define MGK_OptionErrorSteganoImageRequired 341
+#define MGK_OptionErrorStereoImageRequired 342
+#define MGK_OptionErrorSubimageSpecificationReturnsNoImages 343
+#define MGK_OptionErrorTileNotBoundedByImageDimensions 344
+#define MGK_OptionErrorUnableToAddOrRemoveProfile 345
+#define MGK_OptionErrorUnableToAverageImageSequence 346
+#define MGK_OptionErrorUnableToBlurImage 347
+#define MGK_OptionErrorUnableToChopImage 348
+#define MGK_OptionErrorUnableToCineonLogRGBTransformColorspace 349
+#define MGK_OptionErrorUnableToColorMatrixImage 350
+#define MGK_OptionErrorUnableToConstituteImage 351
+#define MGK_OptionErrorUnableToConvolveImage 352
+#define MGK_OptionErrorUnableToEdgeImage 353
+#define MGK_OptionErrorUnableToEqualizeImage 354
+#define MGK_OptionErrorUnableToFilterImage 355
+#define MGK_OptionErrorUnableToFormatImageMetadata 356
+#define MGK_OptionErrorUnableToFrameImage 357
+#define MGK_OptionErrorUnableToOilPaintImage 358
+#define MGK_OptionErrorUnableToPaintImage 359
+#define MGK_OptionErrorUnableToRaiseImage 360
+#define MGK_OptionErrorUnableToSharpenImage 361
+#define MGK_OptionErrorUnableToSpreadImage 362
+#define MGK_OptionErrorUnableToThresholdImage 363
+#define MGK_OptionErrorUnableToWaveImage 364
+#define MGK_OptionErrorUnrecognizedAttribute 365
+#define MGK_OptionErrorUnrecognizedChannelType 366
+#define MGK_OptionErrorUnrecognizedColor 367
+#define MGK_OptionErrorUnrecognizedColormapType 368
+#define MGK_OptionErrorUnrecognizedColorspace 369
+#define MGK_OptionErrorUnrecognizedCommand 370
+#define MGK_OptionErrorUnrecognizedComposeOperator 371
+#define MGK_OptionErrorUnrecognizedDisposeMethod 372
+#define MGK_OptionErrorUnrecognizedElement 373
+#define MGK_OptionErrorUnrecognizedEndianType 374
+#define MGK_OptionErrorUnrecognizedGravityType 375
+#define MGK_OptionErrorUnrecognizedHighlightStyle 376
+#define MGK_OptionErrorUnrecognizedImageCompression 377
+#define MGK_OptionErrorUnrecognizedImageFilter 378
+#define MGK_OptionErrorUnrecognizedImageFormat 379
+#define MGK_OptionErrorUnrecognizedImageMode 380
+#define MGK_OptionErrorUnrecognizedImageType 381
+#define MGK_OptionErrorUnrecognizedIntentType 382
+#define MGK_OptionErrorUnrecognizedInterlaceType 383
+#define MGK_OptionErrorUnrecognizedListType 384
+#define MGK_OptionErrorUnrecognizedMetric 385
+#define MGK_OptionErrorUnrecognizedModeType 386
+#define MGK_OptionErrorUnrecognizedNoiseType 387
+#define MGK_OptionErrorUnrecognizedOperator 388
+#define MGK_OptionErrorUnrecognizedOption 389
+#define MGK_OptionErrorUnrecognizedPerlMagickMethod 390
+#define MGK_OptionErrorUnrecognizedPixelMap 391
+#define MGK_OptionErrorUnrecognizedPreviewType 392
+#define MGK_OptionErrorUnrecognizedResourceType 393
+#define MGK_OptionErrorUnrecognizedType 394
+#define MGK_OptionErrorUnrecognizedUnitsType 395
+#define MGK_OptionErrorUnrecognizedVirtualPixelMethod 396
+#define MGK_OptionErrorUnsupportedSamplingFactor 397
+#define MGK_OptionErrorUsageError 398
+#define MGK_OptionFatalErrorInvalidColorspaceType 399
+#define MGK_OptionFatalErrorInvalidEndianType 400
+#define MGK_OptionFatalErrorInvalidImageType 401
+#define MGK_OptionFatalErrorInvalidInterlaceType 402
+#define MGK_OptionFatalErrorMissingAnImageFilename 403
+#define MGK_OptionFatalErrorMissingArgument 404
+#define MGK_OptionFatalErrorNoImagesWereLoaded 405
+#define MGK_OptionFatalErrorOptionLengthExceedsLimit 406
+#define MGK_OptionFatalErrorRequestDidNotReturnAnImage 407
+#define MGK_OptionFatalErrorUnableToOpenXServer 408
+#define MGK_OptionFatalErrorUnableToPersistKey 409
+#define MGK_OptionFatalErrorUnrecognizedColormapType 410
+#define MGK_OptionFatalErrorUnrecognizedColorspaceType 411
+#define MGK_OptionFatalErrorUnrecognizedDisposeMethod 412
+#define MGK_OptionFatalErrorUnrecognizedEndianType 413
+#define MGK_OptionFatalErrorUnrecognizedFilterType 414
+#define MGK_OptionFatalErrorUnrecognizedImageCompressionType 415
+#define MGK_OptionFatalErrorUnrecognizedImageType 416
+#define MGK_OptionFatalErrorUnrecognizedInterlaceType 417
+#define MGK_OptionFatalErrorUnrecognizedOption 418
+#define MGK_OptionFatalErrorUnrecognizedResourceType 419
+#define MGK_OptionFatalErrorUnrecognizedVirtualPixelMethod 420
+#define MGK_OptionWarningUnrecognizedColor 421
+#define MGK_RegistryErrorImageExpected 422
+#define MGK_RegistryErrorImageInfoExpected 423
+#define MGK_RegistryErrorStructureSizeMismatch 424
+#define MGK_RegistryErrorUnableToGetRegistryID 425
+#define MGK_RegistryErrorUnableToLocateImage 426
+#define MGK_RegistryErrorUnableToSetRegistry 427
+#define MGK_RegistryFatalErrorDefault 428
+#define MGK_RegistryWarningDefault 429
+#define MGK_ResourceLimitErrorCacheResourcesExhausted 430
+#define MGK_ResourceLimitErrorImagePixelHeightLimitExceeded 431
+#define MGK_ResourceLimitErrorImagePixelLimitExceeded 432
+#define MGK_ResourceLimitErrorImagePixelWidthLimitExceeded 433
+#define MGK_ResourceLimitErrorImagesLimitExceeded 434
+#define MGK_ResourceLimitErrorMemoryAllocationFailed 435
+#define MGK_ResourceLimitErrorNexusPixelHeightLimitExceeded 436
+#define MGK_ResourceLimitErrorNexusPixelLimitExceeded 437
+#define MGK_ResourceLimitErrorNexusPixelWidthLimitExceeded 438
+#define MGK_ResourceLimitErrorNoPixelsDefinedInCache 439
+#define MGK_ResourceLimitErrorPixelCacheAllocationFailed 440
+#define MGK_ResourceLimitErrorReadLimitExceeded 441
+#define MGK_ResourceLimitErrorUnableToAddColorProfile 442
+#define MGK_ResourceLimitErrorUnableToAddGenericProfile 443
+#define MGK_ResourceLimitErrorUnableToAddIPTCProfile 444
+#define MGK_ResourceLimitErrorUnableToAddOrRemoveProfile 445
+#define MGK_ResourceLimitErrorUnableToAllocateCoefficients 446
+#define MGK_ResourceLimitErrorUnableToAllocateColormap 447
+#define MGK_ResourceLimitErrorUnableToAllocateICCProfile 448
+#define MGK_ResourceLimitErrorUnableToAllocateImage 449
+#define MGK_ResourceLimitErrorUnableToAllocateString 450
+#define MGK_ResourceLimitErrorUnableToAnnotateImage 451
+#define MGK_ResourceLimitErrorUnableToAverageImageSequence 452
+#define MGK_ResourceLimitErrorUnableToCloneDrawingContext 453
+#define MGK_ResourceLimitErrorUnableToCloneImage 454
+#define MGK_ResourceLimitErrorUnableToComputeImageSignature 455
+#define MGK_ResourceLimitErrorUnableToConstituteImage 456
+#define MGK_ResourceLimitErrorUnableToConvertFont 457
+#define MGK_ResourceLimitErrorUnableToConvertStringToTokens 458
+#define MGK_ResourceLimitErrorUnableToCreateColormap 459
+#define MGK_ResourceLimitErrorUnableToCreateColorTransform 460
+#define MGK_ResourceLimitErrorUnableToCreateCommandWidget 461
+#define MGK_ResourceLimitErrorUnableToCreateImageGroup 462
+#define MGK_ResourceLimitErrorUnableToCreateImageMontage 463
+#define MGK_ResourceLimitErrorUnableToCreateXWindow 464
+#define MGK_ResourceLimitErrorUnableToCropImage 465
+#define MGK_ResourceLimitErrorUnableToDespeckleImage 466
+#define MGK_ResourceLimitErrorUnableToDetermineImageClass 467
+#define MGK_ResourceLimitErrorUnableToDetermineTheNumberOfImageColors 468
+#define MGK_ResourceLimitErrorUnableToDitherImage 469
+#define MGK_ResourceLimitErrorUnableToDrawOnImage 470
+#define MGK_ResourceLimitErrorUnableToEdgeImage 471
+#define MGK_ResourceLimitErrorUnableToEmbossImage 472
+#define MGK_ResourceLimitErrorUnableToEnhanceImage 473
+#define MGK_ResourceLimitErrorUnableToFloodfillImage 474
+#define MGK_ResourceLimitErrorUnableToGammaCorrectImage 475
+#define MGK_ResourceLimitErrorUnableToGetBestIconSize 476
+#define MGK_ResourceLimitErrorUnableToGetFromRegistry 477
+#define MGK_ResourceLimitErrorUnableToGetPackageInfo 478
+#define MGK_ResourceLimitErrorUnableToInterpretMSLImage 479
+#define MGK_ResourceLimitErrorUnableToLevelImage 480
+#define MGK_ResourceLimitErrorUnableToMagnifyImage 481
+#define MGK_ResourceLimitErrorUnableToManageColor 482
+#define MGK_ResourceLimitErrorUnableToMapImage 483
+#define MGK_ResourceLimitErrorUnableToMapImageSequence 484
+#define MGK_ResourceLimitErrorUnableToMedianFilterImage 485
+#define MGK_ResourceLimitErrorUnableToMotionBlurImage 486
+#define MGK_ResourceLimitErrorUnableToNoiseFilterImage 487
+#define MGK_ResourceLimitErrorUnableToNormalizeImage 488
+#define MGK_ResourceLimitErrorUnableToOpenColorProfile 489
+#define MGK_ResourceLimitErrorUnableToQuantizeImage 490
+#define MGK_ResourceLimitErrorUnableToQuantizeImageSequence 491
+#define MGK_ResourceLimitErrorUnableToReadTextChunk 492
+#define MGK_ResourceLimitErrorUnableToReadXImage 493
+#define MGK_ResourceLimitErrorUnableToReadXServerColormap 494
+#define MGK_ResourceLimitErrorUnableToResizeImage 495
+#define MGK_ResourceLimitErrorUnableToRotateImage 496
+#define MGK_ResourceLimitErrorUnableToSampleImage 497
+#define MGK_ResourceLimitErrorUnableToScaleImage 498
+#define MGK_ResourceLimitErrorUnableToSelectImage 499
+#define MGK_ResourceLimitErrorUnableToSharpenImage 500
+#define MGK_ResourceLimitErrorUnableToShaveImage 501
+#define MGK_ResourceLimitErrorUnableToShearImage 502
+#define MGK_ResourceLimitErrorUnableToSortImageColormap 503
+#define MGK_ResourceLimitErrorUnableToThresholdImage 504
+#define MGK_ResourceLimitErrorUnableToTransformColorspace 505
+#define MGK_ResourceLimitErrorWriteLimitExceeded 506
+#define MGK_ResourceLimitFatalErrorMemoryAllocationFailed 507
+#define MGK_ResourceLimitFatalErrorSemaporeOperationFailed 508
+#define MGK_ResourceLimitFatalErrorUnableToAllocateAscii85Info 509
+#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheInfo 510
+#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheView 511
+#define MGK_ResourceLimitFatalErrorUnableToAllocateColorInfo 512
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDashPattern 513
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDelegateInfo 514
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDerivatives 515
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawContext 516
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawInfo 517
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawingWand 518
+#define MGK_ResourceLimitFatalErrorUnableToAllocateGammaMap 519
+#define MGK_ResourceLimitFatalErrorUnableToAllocateImage 520
+#define MGK_ResourceLimitFatalErrorUnableToAllocateImagePixels 521
+#define MGK_ResourceLimitFatalErrorUnableToAllocateLogInfo 522
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMagicInfo 523
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickInfo 524
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickMap 525
+#define MGK_ResourceLimitFatalErrorUnableToAllocateModuleInfo 526
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMontageInfo 527
+#define MGK_ResourceLimitFatalErrorUnableToAllocateQuantizeInfo 528
+#define MGK_ResourceLimitFatalErrorUnableToAllocateRandomKernel 529
+#define MGK_ResourceLimitFatalErrorUnableToAllocateRegistryInfo 530
+#define MGK_ResourceLimitFatalErrorUnableToAllocateSemaphoreInfo 531
+#define MGK_ResourceLimitFatalErrorUnableToAllocateString 532
+#define MGK_ResourceLimitFatalErrorUnableToAllocateTypeInfo 533
+#define MGK_ResourceLimitFatalErrorUnableToAllocateWand 534
+#define MGK_ResourceLimitFatalErrorUnableToAnimateImageSequence 535
+#define MGK_ResourceLimitFatalErrorUnableToCloneBlobInfo 536
+#define MGK_ResourceLimitFatalErrorUnableToCloneCacheInfo 537
+#define MGK_ResourceLimitFatalErrorUnableToCloneImage 538
+#define MGK_ResourceLimitFatalErrorUnableToCloneImageInfo 539
+#define MGK_ResourceLimitFatalErrorUnableToConcatenateString 540
+#define MGK_ResourceLimitFatalErrorUnableToConvertText 541
+#define MGK_ResourceLimitFatalErrorUnableToCreateColormap 542
+#define MGK_ResourceLimitFatalErrorUnableToDestroySemaphore 543
+#define MGK_ResourceLimitFatalErrorUnableToDisplayImage 544
+#define MGK_ResourceLimitFatalErrorUnableToEscapeString 545
+#define MGK_ResourceLimitFatalErrorUnableToInitializeSemaphore 546
+#define MGK_ResourceLimitFatalErrorUnableToInterpretMSLImage 547
+#define MGK_ResourceLimitFatalErrorUnableToLockSemaphore 548
+#define MGK_ResourceLimitFatalErrorUnableToObtainRandomEntropy 549
+#define MGK_ResourceLimitFatalErrorUnableToUnlockSemaphore 550
+#define MGK_ResourceLimitWarningMemoryAllocationFailed 551
+#define MGK_StreamErrorImageDoesNotContainTheStreamGeometry 552
+#define MGK_StreamErrorNoStreamHandlerIsDefined 553
+#define MGK_StreamErrorPixelCacheIsNotOpen 554
+#define MGK_StreamErrorUnableToAcquirePixelStream 555
+#define MGK_StreamErrorUnableToSetPixelStream 556
+#define MGK_StreamErrorUnableToSyncPixelStream 557
+#define MGK_StreamFatalErrorDefault 558
+#define MGK_StreamWarningDefault 559
+#define MGK_TypeErrorFontNotSpecified 560
+#define MGK_TypeErrorFontSubstitutionRequired 561
+#define MGK_TypeErrorUnableToGetTypeMetrics 562
+#define MGK_TypeErrorUnableToInitializeFreetypeLibrary 563
+#define MGK_TypeErrorUnableToReadFont 564
+#define MGK_TypeErrorUnrecognizedFontEncoding 565
+#define MGK_TypeFatalErrorDefault 566
+#define MGK_TypeWarningDefault 567
+#define MGK_WandErrorInvalidColormapIndex 568
+#define MGK_WandErrorWandAPINotImplemented 569
+#define MGK_WandErrorWandContainsNoImageIndexs 570
+#define MGK_WandErrorWandContainsNoImages 571
+#define MGK_XServerErrorColorIsNotKnownToServer 572
+#define MGK_XServerErrorNoWindowWithSpecifiedIDExists 573
+#define MGK_XServerErrorStandardColormapIsNotInitialized 574
+#define MGK_XServerErrorUnableToConnectToRemoteDisplay 575
+#define MGK_XServerErrorUnableToCreateBitmap 576
+#define MGK_XServerErrorUnableToCreateColormap 577
+#define MGK_XServerErrorUnableToCreatePixmap 578
+#define MGK_XServerErrorUnableToCreateProperty 579
+#define MGK_XServerErrorUnableToCreateStandardColormap 580
+#define MGK_XServerErrorUnableToDisplayImageInfo 581
+#define MGK_XServerErrorUnableToGetProperty 582
+#define MGK_XServerErrorUnableToGetStandardColormap 583
+#define MGK_XServerErrorUnableToGetVisual 584
+#define MGK_XServerErrorUnableToGrabMouse 585
+#define MGK_XServerErrorUnableToLoadFont 586
+#define MGK_XServerErrorUnableToMatchVisualToStandardColormap 587
+#define MGK_XServerErrorUnableToOpenXServer 588
+#define MGK_XServerErrorUnableToReadXAttributes 589
+#define MGK_XServerErrorUnableToReadXWindowImage 590
+#define MGK_XServerErrorUnrecognizedColormapType 591
+#define MGK_XServerErrorUnrecognizedGravityType 592
+#define MGK_XServerErrorUnrecognizedVisualSpecifier 593
+#define MGK_XServerFatalErrorUnableToAllocateXHints 594
+#define MGK_XServerFatalErrorUnableToCreateCursor 595
+#define MGK_XServerFatalErrorUnableToCreateGraphicContext 596
+#define MGK_XServerFatalErrorUnableToCreateStandardColormap 597
+#define MGK_XServerFatalErrorUnableToCreateTextProperty 598
+#define MGK_XServerFatalErrorUnableToCreateXImage 599
+#define MGK_XServerFatalErrorUnableToCreateXPixmap 600
+#define MGK_XServerFatalErrorUnableToCreateXWindow 601
+#define MGK_XServerFatalErrorUnableToDisplayImage 602
+#define MGK_XServerFatalErrorUnableToDitherImage 603
+#define MGK_XServerFatalErrorUnableToGetPixelInfo 604
+#define MGK_XServerFatalErrorUnableToGetVisual 605
+#define MGK_XServerFatalErrorUnableToLoadFont 606
+#define MGK_XServerFatalErrorUnableToMakeXWindow 607
+#define MGK_XServerFatalErrorUnableToOpenXServer 608
+#define MGK_XServerFatalErrorUnableToViewFonts 609
+#define MGK_XServerWarningUnableToGetVisual 610
+#define MGK_XServerWarningUsingDefaultVisual 611
#endif
@@ -671,49 +672,49 @@ static const SeverityInfo severity_map[] =
{ "Configure/FatalError", 130, ConfigureFatalError },
{ "Configure/Warning", 134, ConfigureWarning },
{ "Corrupt/Image/Error", 135, CorruptImageError },
- { "Corrupt/Image/FatalError", 177, CorruptImageFatalError },
- { "Corrupt/Image/Warning", 178, CorruptImageWarning },
- { "Delegate/Error", 190, DelegateError },
- { "Delegate/FatalError", 208, DelegateFatalError },
- { "Delegate/Warning", 209, DelegateWarning },
- { "Draw/Error", 210, DrawError },
- { "Draw/FatalError", 232, DrawFatalError },
- { "Draw/Warning", 233, DrawWarning },
- { "File/Open/Error", 236, FileOpenError },
- { "File/Open/FatalError", 239, FileOpenFatalError },
- { "File/Open/Warning", 240, FileOpenWarning },
- { "Image/Error", 241, ImageError },
- { "Image/FatalError", 278, ImageFatalError },
- { "Image/Warning", 279, ImageWarning },
- { "Missing/Delegate/Error", 280, MissingDelegateError },
- { "Missing/Delegate/FatalError", 291, MissingDelegateFatalError },
- { "Missing/Delegate/Warning", 292, MissingDelegateWarning },
- { "Module/Error", 293, ModuleError },
- { "Module/FatalError", 298, ModuleFatalError },
- { "Module/Warning", 299, ModuleWarning },
- { "Monitor/Error", 300, MonitorError },
- { "Monitor/FatalError", 301, MonitorFatalError },
- { "Monitor/Warning", 303, MonitorWarning },
- { "Option/Error", 304, OptionError },
- { "Option/FatalError", 397, OptionFatalError },
- { "Option/Warning", 419, OptionWarning },
- { "Registry/Error", 420, RegistryError },
- { "Registry/FatalError", 426, RegistryFatalError },
- { "Registry/Warning", 427, RegistryWarning },
- { "Resource/Limit/Error", 428, ResourceLimitError },
- { "Resource/Limit/FatalError", 505, ResourceLimitFatalError },
- { "Resource/Limit/Warning", 549, ResourceLimitWarning },
- { "Stream/Error", 550, StreamError },
- { "Stream/FatalError", 556, StreamFatalError },
- { "Stream/Warning", 557, StreamWarning },
- { "Type/Error", 558, TypeError },
- { "Type/FatalError", 564, TypeFatalError },
- { "Type/Warning", 565, TypeWarning },
- { "Wand/Error", 566, WandError },
- { "XServer/Error", 570, XServerError },
- { "XServer/FatalError", 592, XServerFatalError },
- { "XServer/Warning", 608, XServerWarning },
- { "", 610, UndefinedException }
+ { "Corrupt/Image/FatalError", 178, CorruptImageFatalError },
+ { "Corrupt/Image/Warning", 179, CorruptImageWarning },
+ { "Delegate/Error", 191, DelegateError },
+ { "Delegate/FatalError", 209, DelegateFatalError },
+ { "Delegate/Warning", 210, DelegateWarning },
+ { "Draw/Error", 211, DrawError },
+ { "Draw/FatalError", 233, DrawFatalError },
+ { "Draw/Warning", 234, DrawWarning },
+ { "File/Open/Error", 237, FileOpenError },
+ { "File/Open/FatalError", 240, FileOpenFatalError },
+ { "File/Open/Warning", 241, FileOpenWarning },
+ { "Image/Error", 242, ImageError },
+ { "Image/FatalError", 279, ImageFatalError },
+ { "Image/Warning", 280, ImageWarning },
+ { "Missing/Delegate/Error", 281, MissingDelegateError },
+ { "Missing/Delegate/FatalError", 292, MissingDelegateFatalError },
+ { "Missing/Delegate/Warning", 293, MissingDelegateWarning },
+ { "Module/Error", 294, ModuleError },
+ { "Module/FatalError", 299, ModuleFatalError },
+ { "Module/Warning", 300, ModuleWarning },
+ { "Monitor/Error", 301, MonitorError },
+ { "Monitor/FatalError", 302, MonitorFatalError },
+ { "Monitor/Warning", 304, MonitorWarning },
+ { "Option/Error", 305, OptionError },
+ { "Option/FatalError", 398, OptionFatalError },
+ { "Option/Warning", 420, OptionWarning },
+ { "Registry/Error", 421, RegistryError },
+ { "Registry/FatalError", 427, RegistryFatalError },
+ { "Registry/Warning", 428, RegistryWarning },
+ { "Resource/Limit/Error", 429, ResourceLimitError },
+ { "Resource/Limit/FatalError", 506, ResourceLimitFatalError },
+ { "Resource/Limit/Warning", 550, ResourceLimitWarning },
+ { "Stream/Error", 551, StreamError },
+ { "Stream/FatalError", 557, StreamFatalError },
+ { "Stream/Warning", 558, StreamWarning },
+ { "Type/Error", 559, TypeError },
+ { "Type/FatalError", 565, TypeFatalError },
+ { "Type/Warning", 566, TypeWarning },
+ { "Wand/Error", 567, WandError },
+ { "XServer/Error", 571, XServerError },
+ { "XServer/FatalError", 593, XServerFatalError },
+ { "XServer/Warning", 609, XServerWarning },
+ { "", 611, UndefinedException }
};
#endif
@@ -878,6 +879,7 @@ static const MessageInfo message_map[] =
{ "NegativeOrZeroImageSize", MGK_CorruptImageErrorNegativeOrZeroImageSize },
{ "NonOS2HeaderSizeError", MGK_CorruptImageErrorNonOS2HeaderSizeError },
{ "NotEnoughTiles", MGK_CorruptImageErrorNotEnoughTiles },
+ { "RecursionDetected", MGK_CorruptImageErrorRecursionDetected },
{ "StaticPlanesValueNotEqualToOne", MGK_CorruptImageErrorStaticPlanesValueNotEqualToOne },
{ "SubsamplingRequiresEvenWidth", MGK_CorruptImageErrorSubsamplingRequiresEvenWidth },
{ "TooMuchImageDataInFile", MGK_CorruptImageErrorTooMuchImageDataInFile },
@@ -1495,6 +1497,7 @@ static const char message_dat[] =
"Negative or zero image size\0"
"Non OS2 BMP header size less than 40\0"
"Not enough tiles found in level\0"
+ "excessive recursion detected\0"
"Static planes value not equal to 1\0"
"Subsampling requires that image width be evenly divisible by two\0"
"Too much image data in file\0"
@@ -2111,464 +2114,465 @@ static const unsigned short message_dat_offsets[] =
4588,
4625,
4657,
- 4692,
- 4757,
- 4785,
- 4824,
+ 4686,
+ 4721,
+ 4786,
+ 4814,
4853,
- 4884,
- 4915,
- 4941,
- 4969,
- 4997,
- 5034,
- 5064,
- 5089,
- 5131,
- 5164,
- 5191,
- 5214,
- 5241,
- 5262,
- 5290,
- 5315,
- 5345,
- 5369,
- 5397,
+ 4882,
+ 4913,
+ 4944,
+ 4970,
+ 4998,
+ 5026,
+ 5063,
+ 5093,
+ 5118,
+ 5160,
+ 5193,
+ 5220,
+ 5243,
+ 5270,
+ 5291,
+ 5319,
+ 5344,
+ 5374,
+ 5398,
5426,
- 5448,
- 5470,
- 5505,
- 5527,
- 5550,
- 5583,
- 5611,
- 5637,
- 5678,
- 5715,
- 5748,
- 5776,
- 5807,
- 5823,
- 5857,
- 5901,
- 5931,
- 5976,
- 5998,
- 6018,
- 6031,
- 6058,
- 6081,
- 6114,
- 6142,
- 6170,
- 6203,
- 6236,
- 6264,
- 6291,
- 6349,
- 6363,
- 6379,
- 6414,
- 6434,
- 6461,
- 6498,
- 6537,
- 6564,
- 6583,
- 6610,
- 6637,
- 6681,
- 6711,
- 6752,
- 6773,
- 6797,
- 6839,
- 6855,
- 6891,
- 6911,
- 6938,
- 6971,
- 7004,
- 7026,
- 7040,
- 7059,
- 7100,
- 7114,
- 7146,
- 7166,
- 7187,
- 7201,
- 7217,
- 7240,
- 7285,
- 7319,
- 7344,
- 7370,
- 7401,
- 7435,
- 7460,
- 7482,
- 7509,
- 7528,
- 7551,
- 7585,
- 7606,
- 7628,
- 7656,
- 7673,
- 7696,
- 7721,
- 7745,
- 7770,
- 7795,
- 7825,
- 7855,
- 7892,
- 7922,
- 7946,
- 7970,
+ 5455,
+ 5477,
+ 5499,
+ 5534,
+ 5556,
+ 5579,
+ 5612,
+ 5640,
+ 5666,
+ 5707,
+ 5744,
+ 5777,
+ 5805,
+ 5836,
+ 5852,
+ 5886,
+ 5930,
+ 5960,
+ 6005,
+ 6027,
+ 6047,
+ 6060,
+ 6087,
+ 6110,
+ 6143,
+ 6171,
+ 6199,
+ 6232,
+ 6265,
+ 6293,
+ 6320,
+ 6378,
+ 6392,
+ 6408,
+ 6443,
+ 6463,
+ 6490,
+ 6527,
+ 6566,
+ 6593,
+ 6612,
+ 6639,
+ 6666,
+ 6710,
+ 6740,
+ 6781,
+ 6802,
+ 6826,
+ 6868,
+ 6884,
+ 6920,
+ 6940,
+ 6967,
+ 7000,
+ 7033,
+ 7055,
+ 7069,
+ 7088,
+ 7129,
+ 7143,
+ 7175,
+ 7195,
+ 7216,
+ 7230,
+ 7246,
+ 7269,
+ 7314,
+ 7348,
+ 7373,
+ 7399,
+ 7430,
+ 7464,
+ 7489,
+ 7511,
+ 7538,
+ 7557,
+ 7580,
+ 7614,
+ 7635,
+ 7657,
+ 7685,
+ 7702,
+ 7725,
+ 7750,
+ 7774,
+ 7799,
+ 7824,
+ 7854,
+ 7884,
+ 7921,
+ 7951,
+ 7975,
7999,
- 8030,
- 8060,
- 8083,
- 8107,
- 8131,
+ 8028,
+ 8059,
+ 8089,
+ 8112,
+ 8136,
8160,
- 8182,
- 8212,
- 8234,
- 8250,
+ 8189,
+ 8211,
+ 8241,
+ 8263,
8279,
- 8313,
- 8355,
- 8381,
- 8406,
- 8447,
- 8488,
- 8518,
+ 8308,
+ 8342,
+ 8384,
+ 8410,
+ 8435,
+ 8476,
+ 8517,
8547,
- 8581,
- 8623,
- 8637,
- 8653,
- 8676,
- 8698,
- 8720,
- 8752,
- 8772,
- 8807,
- 8823,
- 8837,
- 8851,
- 8891,
- 8907,
- 8931,
- 8962,
- 8992,
- 9019,
- 9049,
+ 8576,
+ 8610,
+ 8652,
+ 8666,
+ 8682,
+ 8705,
+ 8727,
+ 8749,
+ 8781,
+ 8801,
+ 8836,
+ 8852,
+ 8866,
+ 8880,
+ 8920,
+ 8936,
+ 8960,
+ 8991,
+ 9021,
+ 9048,
9078,
- 9110,
- 9149,
+ 9107,
+ 9139,
9178,
9207,
- 9239,
- 9265,
- 9296,
- 9327,
- 9358,
- 9385,
- 9420,
- 9455,
- 9483,
- 9509,
- 9567,
- 9593,
- 9617,
- 9649,
- 9667,
- 9702,
- 9728,
- 9747,
- 9779,
- 9804,
- 9829,
- 9861,
- 9902,
- 9934,
- 9967,
- 9990,
- 10012,
- 10053,
- 10093,
- 10125,
- 10158,
- 10179,
- 10200,
- 10242,
+ 9236,
+ 9268,
+ 9294,
+ 9325,
+ 9356,
+ 9387,
+ 9414,
+ 9449,
+ 9484,
+ 9512,
+ 9538,
+ 9596,
+ 9622,
+ 9646,
+ 9678,
+ 9696,
+ 9731,
+ 9757,
+ 9776,
+ 9808,
+ 9833,
+ 9858,
+ 9890,
+ 9931,
+ 9963,
+ 9996,
+ 10019,
+ 10041,
+ 10082,
+ 10122,
+ 10154,
+ 10187,
+ 10208,
+ 10229,
10271,
- 10298,
- 10323,
- 10344,
- 10369,
- 10392,
- 10425,
- 10447,
- 10473,
- 10495,
- 10517,
- 10541,
- 10564,
- 10590,
- 10611,
- 10634,
- 10660,
- 10679,
- 10706,
- 10736,
- 10808,
- 10838,
- 10866,
- 10887,
- 10912,
- 10938,
+ 10300,
+ 10327,
+ 10352,
+ 10373,
+ 10398,
+ 10421,
+ 10454,
+ 10476,
+ 10502,
+ 10524,
+ 10546,
+ 10570,
+ 10593,
+ 10619,
+ 10640,
+ 10663,
+ 10689,
+ 10708,
+ 10735,
+ 10765,
+ 10837,
+ 10867,
+ 10895,
+ 10916,
+ 10941,
10967,
- 10998,
- 11024,
- 11050,
- 11074,
- 11098,
- 11123,
- 11151,
- 11174,
- 11200,
- 11223,
- 11247,
- 11269,
- 11289,
- 11320,
- 11343,
- 11369,
- 11396,
- 11414,
- 11438,
- 11472,
- 11500,
- 11547,
- 11571,
- 11591,
- 11610,
- 11633,
- 11659,
- 11717,
- 11739,
- 11767,
- 11799,
- 11822,
- 11844,
- 11871,
+ 10996,
+ 11027,
+ 11053,
+ 11079,
+ 11103,
+ 11127,
+ 11152,
+ 11180,
+ 11203,
+ 11229,
+ 11252,
+ 11276,
+ 11298,
+ 11318,
+ 11349,
+ 11372,
+ 11398,
+ 11425,
+ 11443,
+ 11467,
+ 11501,
+ 11529,
+ 11576,
+ 11600,
+ 11620,
+ 11639,
+ 11662,
+ 11688,
+ 11746,
+ 11768,
+ 11796,
+ 11828,
+ 11851,
+ 11873,
11900,
- 11928,
- 11953,
- 11978,
- 12008,
- 12032,
- 12060,
- 12080,
- 12107,
- 12141,
- 12160,
- 12175,
- 12195,
- 12219,
- 12245,
- 12268,
- 12291,
- 12305,
- 12321,
- 12365,
- 12419,
- 12466,
- 12518,
- 12560,
- 12585,
- 12639,
- 12686,
- 12738,
- 12765,
- 12795,
- 12833,
- 12865,
- 12895,
- 12922,
- 12954,
- 12986,
- 13014,
- 13045,
- 13070,
- 13096,
- 13121,
- 13154,
- 13186,
- 13208,
- 13242,
- 13269,
- 13292,
- 13328,
- 13354,
- 13387,
- 13419,
+ 11929,
+ 11957,
+ 11982,
+ 12007,
+ 12037,
+ 12061,
+ 12089,
+ 12109,
+ 12136,
+ 12170,
+ 12189,
+ 12204,
+ 12224,
+ 12248,
+ 12274,
+ 12297,
+ 12320,
+ 12334,
+ 12350,
+ 12394,
+ 12448,
+ 12495,
+ 12547,
+ 12589,
+ 12614,
+ 12668,
+ 12715,
+ 12767,
+ 12794,
+ 12824,
+ 12862,
+ 12894,
+ 12924,
+ 12951,
+ 12983,
+ 13015,
+ 13043,
+ 13074,
+ 13099,
+ 13125,
+ 13150,
+ 13183,
+ 13215,
+ 13237,
+ 13271,
+ 13298,
+ 13321,
+ 13357,
+ 13383,
+ 13416,
13448,
- 13479,
- 13505,
- 13526,
- 13552,
- 13584,
- 13631,
- 13654,
- 13678,
- 13699,
- 13722,
- 13746,
- 13772,
- 13802,
+ 13477,
+ 13508,
+ 13534,
+ 13555,
+ 13581,
+ 13613,
+ 13660,
+ 13683,
+ 13707,
+ 13728,
+ 13751,
+ 13775,
+ 13801,
13831,
- 13859,
- 13886,
- 13916,
- 13938,
- 13962,
- 13985,
- 14005,
+ 13860,
+ 13888,
+ 13915,
+ 13945,
+ 13967,
+ 13991,
+ 14014,
14034,
- 14064,
- 14092,
+ 14063,
+ 14093,
14121,
- 14147,
+ 14150,
14176,
- 14201,
- 14235,
- 14261,
- 14284,
- 14317,
- 14340,
- 14363,
- 14386,
- 14408,
- 14431,
- 14455,
- 14477,
- 14499,
- 14529,
- 14555,
- 14586,
- 14626,
- 14651,
- 14678,
- 14710,
- 14740,
- 14770,
- 14800,
- 14832,
- 14865,
+ 14205,
+ 14230,
+ 14264,
+ 14290,
+ 14313,
+ 14346,
+ 14369,
+ 14392,
+ 14415,
+ 14437,
+ 14460,
+ 14484,
+ 14506,
+ 14528,
+ 14558,
+ 14584,
+ 14615,
+ 14655,
+ 14680,
+ 14707,
+ 14739,
+ 14769,
+ 14799,
+ 14829,
+ 14861,
14894,
- 14926,
+ 14923,
14955,
- 14987,
+ 14984,
15016,
- 15041,
- 15073,
- 15101,
- 15131,
- 15162,
- 15192,
- 15223,
- 15255,
- 15288,
- 15321,
- 15354,
- 15388,
- 15414,
+ 15045,
+ 15070,
+ 15102,
+ 15130,
+ 15160,
+ 15191,
+ 15221,
+ 15252,
+ 15284,
+ 15317,
+ 15350,
+ 15383,
+ 15417,
15443,
- 15467,
- 15500,
- 15526,
- 15553,
- 15575,
- 15602,
+ 15472,
+ 15496,
+ 15529,
+ 15555,
+ 15582,
+ 15604,
15631,
- 15654,
- 15680,
- 15708,
- 15732,
- 15756,
- 15787,
- 15817,
- 15842,
- 15894,
- 15921,
- 15946,
- 15989,
+ 15660,
+ 15683,
+ 15709,
+ 15737,
+ 15761,
+ 15785,
+ 15816,
+ 15846,
+ 15871,
+ 15923,
+ 15950,
+ 15975,
16018,
- 16042,
- 16073,
- 16100,
- 16128,
- 16142,
- 16158,
- 16182,
- 16209,
- 16236,
- 16274,
- 16294,
- 16321,
- 16335,
- 16351,
- 16383,
- 16417,
- 16457,
- 16490,
+ 16047,
+ 16071,
+ 16102,
+ 16129,
+ 16157,
+ 16171,
+ 16187,
+ 16211,
+ 16238,
+ 16265,
+ 16303,
+ 16323,
+ 16350,
+ 16364,
+ 16380,
+ 16412,
+ 16446,
+ 16486,
16519,
- 16554,
- 16591,
- 16627,
- 16651,
- 16677,
- 16701,
- 16727,
- 16762,
+ 16548,
+ 16583,
+ 16620,
+ 16656,
+ 16680,
+ 16706,
+ 16730,
+ 16756,
16791,
- 16814,
- 16846,
- 16867,
- 16888,
- 16908,
- 16952,
- 16976,
- 17004,
- 17034,
- 17061,
- 17087,
- 17117,
- 17144,
- 17170,
- 17203,
- 17238,
- 17269,
- 17294,
- 17320,
- 17346,
- 17370,
- 17393,
- 17418,
- 17439,
- 17459,
- 17483,
- 17507,
- 17528,
- 17549,
- 17568,
+ 16820,
+ 16843,
+ 16875,
+ 16896,
+ 16917,
+ 16937,
+ 16981,
+ 17005,
+ 17033,
+ 17063,
+ 17090,
+ 17116,
+ 17146,
+ 17173,
+ 17199,
+ 17232,
+ 17267,
+ 17298,
+ 17323,
+ 17349,
+ 17375,
+ 17399,
+ 17422,
+ 17447,
+ 17468,
+ 17488,
+ 17512,
+ 17536,
+ 17557,
+ 17578,
+ 17597,
0
};
#endif /* if defined(_INCLUDE_MESSAGE_TABLE_) */
diff --git a/magick/resource.c b/magick/resource.c
index 6fcd960..bfaa610 100644
--- a/magick/resource.c
+++ b/magick/resource.c
@@ -1132,6 +1132,7 @@ extern MagickPassFail _UpdateMagickResourceHighwater(const ResourceType type,
info->name,f_highwater,info->units);
status=MagickPass;
}
+#if 0 /* defined(DEBUG_MAGICK_RESOURCES) && DEBUG_MAGICK_RESOURCES */
else
{
(void) LogMagickEvent(ResourceEvent,GetMagickModule(),
@@ -1139,6 +1140,7 @@ extern MagickPassFail _UpdateMagickResourceHighwater(const ResourceType type,
" %" MAGICK_INTMAX_F "d%s",
info->name,highwater,info->units);
}
+#endif
UnlockSemaphoreInfo(info->semaphore);
}
diff --git a/www/index.html b/www/index.html
index 1e91b00..4fbdd7c 100644
--- a/www/index.html
+++ b/www/index.html
@@ -111,9 +111,9 @@ largest photo sites (e.g. valgrind's 100% clean (memcheck and helgrind).
GM passes rigorous memory error testing using ASan.
GM passes undefined behavior testing using UBSan.
-GM has 0.00 (zero) defects per 1000 lines of code (380,545 total
-lines included) according to Coverity Analysis Metrics on
-July 2, 2026.
+GM has 0.00 (zero) defects per 1000 lines of code (380,756 total
+lines of code analyzed) according to Coverity Analysis Metrics
+on August 24, 2026.
GM has zero issues detected by Clang 15 scan-build.
GM comes with a comprehensive manual page.
GM provides API and ABI stability and managed releases that you can
diff --git a/www/index.rst b/www/index.rst
index f40da0d..5408a97 100644
--- a/www/index.rst
+++ b/www/index.rst
@@ -136,9 +136,9 @@ other popular software:
* GM passes undefined behavior testing using `UBSan`_.
- * GM has 0.00 (zero) defects per 1000 lines of code (380,545 total
- lines included) according to `Coverity Analysis Metrics`_ on
- July 2, 2026.
+ * GM has 0.00 (zero) defects per 1000 lines of code (380,756 total
+ lines of code analyzed) according to `Coverity Analysis Metrics`_
+ on August 24, 2026.
* GM has zero issues detected by Clang 15 scan-build.
--
2.39.5